package com.example.userpointmgr.service;

import com.example.userpointmgr.dao.UserPo;
import com.example.userpointmgr.dao.UserPointChangeDto;
import com.example.userpointmgr.dao.UserRegisterDTO;
import com.example.userpointmgr.tool.PageParam;
import com.example.userpointmgr.tool.PageResult;
import com.example.userpointmgr.tool.ResponseResult;

import java.util.List;

public interface UserService {
    PageResult<UserPo> findAllUsers(PageParam pageParam);
    ResponseResult getUserInfo(String userphonenumber);
    ResponseResult getUserInfoByOpenid(String openid);
    ResponseResult userRegister(UserRegisterDTO userRegisterDTO);
    Integer deleteUser(String userphonenumber);
    ResponseResult updateUser(UserPointChangeDto userPointChangeDto);
}
